package com.eastfair.matching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eastfair.boot.request.PageParams;
import com.eastfair.boot.service.SuperService;
import com.eastfair.matching.dto.ComplementServiceItemPageQuery;
import com.eastfair.matching.dto.ComplementServiceItemSaveDTO;
import com.eastfair.matching.dto.ComplementServiceItemUpdateDTO;
import com.eastfair.matching.entity.ComplementServiceItem;
import com.eastfair.matching.vo.ComplementServiceItemVO;
import com.eastfair.venueservice.dto.ServiceItemDTO;
import com.eastfair.venueservice.dto.ServiceItemQuery;
import com.eastfair.venueservice.vo.ServiceItemVO;

/**
 * <p>
 * 业务接口
 * 配套服务项
 * </p>
 *
 * @author lyw
 * @date 2022-07-15
 */
public interface ComplementServiceItemService extends SuperService<ComplementServiceItem> {

    /**
     * 配套服务项
     * @param params
     * @return
     */
    IPage<ServiceItemVO> queryComplementServiceItemList(PageParams<ServiceItemQuery> params);

    /**
     * 保存配套服务项
     * @param serviceItemDTO
     * @return
     */
    Boolean saveComplementServiceItemInfo(ServiceItemDTO serviceItemDTO);

    /**
     * 修改配套服务项
     * @param serviceItemDTO
     * @return
     */
    Boolean updateComplementServiceItemById(ServiceItemDTO serviceItemDTO);


    /**
     * 上架配套服务
     * @param serviceItemDTO
     * @return
     */
    Boolean shelfService(ServiceItemDTO serviceItemDTO);

    /**
     * 下架配套服务
     * @param serviceItemDTO
     * @return
     */
    Boolean offShelfService(ServiceItemDTO serviceItemDTO);




    /**
     * 删除配套服务
     * @param serviceItemDTO
     * @return
     */
    Boolean delComplementServiceItemById(ServiceItemDTO serviceItemDTO);

}
